package cn.edu.scau.cmi.pengjiajian.dao;

import java.util.HashSet;
import java.util.Set;

public class Teacher implements java.io.Serializable{
	private static final long serialVersionUID = 1L;
	private Long id;
	private String name;
	private Set<Student> students = new HashSet<>(0);
	public Teacher() {
		super();
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Set<Student> getStudents() {
		return students;
	}
	public void setStudents(Set<Student> students) {
		this.students = students;
	}
	
	
}
